package com.ssy.lingxi.platform.manage.api.feign.inner;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.api.hystrix.inner.PlatformParameterManageControllerFallback;
import com.ssy.lingxi.platform.manage.api.model.vo.parameter.PlatformParameterManageVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @menu 平台参数
 * @author wrc
 * @version 2.0.0
 * @date 2020/10/22
 */
@FeignClient(value = "platform-manage-service", fallback = PlatformParameterManageControllerFallback.class)
public interface PlatformParameterManageControllerFeign {

    /**
     * 查询平台参数配置
     */
    @GetMapping("/manage/feign/parameter/manage/details")
    Wrapper<PlatformParameterManageVO> parameterManageDetails(@RequestParam("code") String code);
}
